<?php

class Application_ReportData{
	/*
	protected $_title;
	protected $_listTable;
	
	
	public function __construct($title) {
		$this->_title = $title;
	}
	
	public function addTable($table){
		$_listTable[]=$table;
	}
	*/
	
	protected $_table;
	
	public function addTable($titleTable, $values, $nColums) {
	
		$table = new stdClass();
		$table->titleTable = $titleTable;
		$table->values = $values;
		$table->nColums =$nColums;
		$this->_table[] = $table;
	
	}
	
	public function getTitleTable($n){
		return $this->_table[$n]->titleTable;
	}
	
	public function getValues($n){
		return $this->_table[$n]->values; 
	}
	
	public function getNColums($n){
		return $this->_table[$n]->nColums;
	}
	
	public function getNTable(){
		return count($this->_table);
	}
}